﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace BackEnd.Models
{
    public class MarketingModel
    {
        public int MarketingID { get; set; }
        [Required]
        [Display(Name = "Code")]
        public string Code { get; set; }
        [Required]
        [Display(Name = "Title")]
        public string Title { get; set; }
        [Required]
        [Display(Name = "Marketing Cat")]
        public int MarketingCatID { get; set; }
        [Required]
        [DataType(DataType.Date)]
        [Display(Name = "From Date")]
        public DateTime FromDate { get; set; }
        [Required]
        [DataType(DataType.Date)]
        [Display(Name = "To Date")]
        public DateTime ToDate { get; set; }
        [Required]
        [Display(Name = "Status")]
        public int Status { get; set; }
        [Required]
        [Display(Name = "Subscription")]
        public int SubscriptionID { get; set; }
        [Display(Name = "Coupon Code")]
        public string CouponCode { get; set; }
        [Required]
        [Display(Name = "Discount")]
        public decimal Discount { get; set; }
        [Display(Name = "Content")]
        public string Contents { get; set; }
        public string CategoryCode { get; set; }
    }
   
    
}